package com.fht.spring_boot_study.model.test.repostory;

import com.fht.spring_boot_study.model.test.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface StudentRepository extends JpaRepository<Student, Integer> ,
        JpaSpecificationExecutor<Student> {

    Student findFirstByStudentNameAndAge(String studentName, int age);
}
